<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_totalWeeklyWorkingDays}" for="totalWeeklyWorkingDays" />
                    <h:inputText id="totalWeeklyWorkingDays" value="#{masterProductionScheduleWeeklyEntityController.selected.totalWeeklyWorkingDays}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_totalWeeklyWorkingDays}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_weekOfProduction}" for="weekOfProduction" />
                    <h:inputText id="weekOfProduction" value="#{masterProductionScheduleWeeklyEntityController.selected.weekOfProduction}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_weekOfProduction}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_yearOfProduction}" for="yearOfProduction" />
                    <h:inputText id="yearOfProduction" value="#{masterProductionScheduleWeeklyEntityController.selected.yearOfProduction}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_yearOfProduction}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_mpsMonthly1}" for="mpsMonthly1" />
                    <h:selectOneMenu id="mpsMonthly1" value="#{masterProductionScheduleWeeklyEntityController.selected.mpsMonthly1}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_mpsMonthly1}" >
                        <f:selectItems value="#{masterProductionScheduleMonthlyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_mpsMonthly2}" for="mpsMonthly2" />
                    <h:selectOneMenu id="mpsMonthly2" value="#{masterProductionScheduleWeeklyEntityController.selected.mpsMonthly2}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_mpsMonthly2}" >
                        <f:selectItems value="#{masterProductionScheduleMonthlyEntityController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_weeklyWorkingDays1}" for="weeklyWorkingDays1" />
                    <h:inputText id="weeklyWorkingDays1" value="#{masterProductionScheduleWeeklyEntityController.selected.weeklyWorkingDays1}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_weeklyWorkingDays1}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_weeklyWorkingDays2}" for="weeklyWorkingDays2" />
                    <h:inputText id="weeklyWorkingDays2" value="#{masterProductionScheduleWeeklyEntityController.selected.weeklyWorkingDays2}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_weeklyWorkingDays2}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_id}" for="id" />
                    <h:inputText id="id" value="#{masterProductionScheduleWeeklyEntityController.selected.id}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_id}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_createdAt}" for="createdAt" />
                    <h:inputText id="createdAt" value="#{masterProductionScheduleWeeklyEntityController.selected.createdAt}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_createdAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_createdBy}" for="createdBy" />
                    <h:inputText id="createdBy" value="#{masterProductionScheduleWeeklyEntityController.selected.createdBy}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_createdBy}" />
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_lastModifiedAt}" for="lastModifiedAt" />
                    <h:inputText id="lastModifiedAt" value="#{masterProductionScheduleWeeklyEntityController.selected.lastModifiedAt}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_lastModifiedAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.EditMasterProductionScheduleWeeklyEntityLabel_lastModifiedBy}" for="lastModifiedBy" />
                    <h:inputText id="lastModifiedBy" value="#{masterProductionScheduleWeeklyEntityController.selected.lastModifiedBy}" title="#{bundle.EditMasterProductionScheduleWeeklyEntityTitle_lastModifiedBy}" />
                </h:panelGrid>
                <h:commandLink action="#{masterProductionScheduleWeeklyEntityController.update}" value="#{bundle.EditMasterProductionScheduleWeeklyEntitySaveLink}"/>
                <br />
                <br />
                <h:commandLink action="View" value="#{bundle.EditMasterProductionScheduleWeeklyEntityViewLink}" immediate="true"/>
                <br />
                <h:commandLink action="#{masterProductionScheduleWeeklyEntityController.prepareList}" value="#{bundle.EditMasterProductionScheduleWeeklyEntityShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.EditMasterProductionScheduleWeeklyEntityIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
